package com.work.db.dao;

import java.util.List;

import com.work.db.GenericDao;
import com.work.db.entity.*;

public interface LeaveDao extends GenericDao<LeaveOfAbsence, Long> {
	
	public Integer getRemainingLeave(Employer employer, int year);
	
	public List<LeaveOfAbsence> getTakenLeaves(Employer employer, List<LeaveTypeEnum> selectedLeaves);
}
